package com.runfast.waimai.dao.mapper;

import com.runfast.common.dao.IMapper;
import com.runfast.waimai.dao.model.RunfastGoodsSell;
import com.runfast.waimai.dao.model.RunfastGoodsSellExample;
import com.runfast.waimai.entity.CartItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

@Mapper
public interface RunfastGoodsSellMapper extends IMapper<RunfastGoodsSell, Integer, RunfastGoodsSellExample> {
<<<<<<< .mine
    void updateSalesnum(RunfastGoodsSell gr);
||||||| .r24
    void updateSalesnum(RunfastGoodsSellRecord gr);
=======
    List<RunfastGoodsSell> search(String name, Integer businessId, Pageable pageable);

    List<Map<String,Object>> findAgentOffZoneGoods(Integer agentId, Pageable pageable);

    RunfastGoodsSell detail(Integer goodsId);

    List<RunfastGoodsSell> findGoodsWithStandar(Integer goodsId, List<CartItem> cart);

    List<RunfastGoodsSell> findGoodsWithOption(Integer goodsId, List<CartItem> cart);

    List<Map<String, Object>> checkGoodsWithStandar(Integer businessId, List<CartItem> cart);

    List<Map<String, Object>> checkGoodsWithOption(Integer businessId, List<CartItem> cart);
>>>>>>> .r34
}